You are here: Record management > Rule testing > PegaUnit testing > Page assertions
Page assertions
You can configure page assertions to determine whether or not a page exists. You can configure page assertions on the following types of pages:
- Embedded pages
- Data pages
- Data pages with parameters
- Embedded pages within data pages that either have or do not have parameters
For example, an activity runs every week to check the last login time of all operators and deletes any operator record (page) from the system if the last login was six months ago. When you test this activity:
- Set up the clipboard to load an operator page that has the last login time as six months ago.
- Create a page assertion that ensures that the page no longer exists after the activity runs.
Open topic with navigation